package me.magicall.db.sql.select;

import me.magicall.db.sql.AbsHasAs;
import me.magicall.db.sql.As;
import me.magicall.db.sql.table.Column;

/**
 * 跟在select后面的,作为结果字段
 * 
 * @author MaGiCalL
 */
public class ResultField extends AbsHasAs implements Selectedable {

	public ResultField() {
		super();
	}

	public ResultField(final Selectedable selectable, final As as) {
		super(selectable, as);
	}

	public ResultField(final Selectedable selectable) {
		super(selectable);
	}

	public void setResultField(final Column column) {
		setToSqlable(column);
	}

	public Column getColumn() {
		return (Column) getToSqlable();
	}
}
